cmake_minimum_required(VERSION 2.8)

project(libNBL)

file(GLOB_RECURSE PROJECT_HEADES *.h)
file(GLOB_RECURSE PROJECT_CPPS   *.cpp)
set(SOURCES ${PROJECT_HEADES} ${PROJECT_CPPS})

if(BUILD_SHARED_LIBS)   
   if(WIN32)
      add_library(NBL SHARED ${SOURCES})
   else()
      add_library(NBL SHARED ${SOURCES})
   endif()
endif()

if(BUILD_STATIC_LIBS)

   add_library(NBL_static STATIC ${SOURCES})

endif()

